package com.northwind.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "nwg_category")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Category {
    @Id
    private String id;

    @Column(name = "catename")
    private String cateName;

    private String levels;
    @Column(name = "parentid")
    private String parentId;
}